
package com.insigma.business.qrcode.intell.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.insigma.business.qrcode.common.dto.BaseTotalBSearcher;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;


@Getter
@Setter
public class CommonQaInfoBSearcher extends BaseTotalBSearcher {

    
    private String keyword;

    
    private String title;

    
    private String content;

    
    private String extra;

    
    private String adminAreaCode;
    private List<String> adminAreaCodeList;
    
    private Integer seqNo;

    private Integer up;
    private Integer down;

    
    private String category;

    @ApiModelProperty("是否开启移动端显示，1显示0不显示")
    private Integer openStatus;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createDatetimeStart;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createDatetimeEnd;

    public CommonQaInfoBSearcher(int pageNo, int pageSize) {
        super(pageNo, pageSize);
    }

    public CommonQaInfoBSearcher(int pageNo, int pageSize, String sortKeyValueJoint) {
        super(pageNo, pageSize, sortKeyValueJoint);
    }

}
